package cn.tedu.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 1.Configuration注解: 配置类,工程启动时会优先加载此类
 * 2.ComponentScan注解: 自动扫描注解的类
 */
@Configuration
@ComponentScan("cn.tedu.spring")
public class SpringConfig {
}
